FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wf_sxf@163.com

RUN mkdir -p /pig-gateway

WORKDIR /pig-gateway

EXPOSE 1025

ADD ./pig-gateway/pig-gateway.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-gateway.jar